package com.ldzy.dao;

import com.ldzy.pojo.Teacher;

import java.util.List;

public interface TeacherDao {
    public Teacher findById(int id);
    public List<Teacher> all();
    public  List<Teacher> findByPhone(String phone);
    public  List<Teacher> findByPhoneAndDepart(Teacher teacher);
    public  List<Teacher> findByPhoneAndDepartnonull(Teacher teacher);
    public  void AddTheach(Teacher teacher);
    public void delTheachName(Teacher teacher);
    public  List<Teacher> finByPhon(Teacher teacher);
    public  void  eduTeacher(Teacher teacher);
}
